<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
  <head>
    <meta charset="utf-8">
    <title><?= $title ?></title>
    <base href="<?= My::System()->Web->HttpRequest->PathInfo ?>" target="_top">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <? System::Web()->ScriptManager->StyleSheet(); ?>
    <link rel="shortcut icon" href="images/favicon.ico">
    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
    <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  </head>
  <body>

    <div class="container">

      <div class="sixteen columns">
        <h1 class="remove-bottom" style="margin-top:20px">My MVC</h1>
        <h5>Version <?= My::My()->Version ?></h5>
        <hr />
      </div>

      <div class="three columns sidebar">
        <nav>
          <ul>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('my'); ?>">Главная</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('my','request'); ?>">Паттерн Iterator</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('my','reflection'); ?>">Рефлексия в PHP</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('my','command'); ?>">Паттерн Command</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('xml','xslt'); ?>">XSLT</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('xml','webservice'); ?>">Веб-сервис</a></li>
            <li><a href="<?= My::Mvc()->UrlManager->Resolve('ajax'); ?>">Ajax</a></li>
          </ul>
          <div id="carbonads-container"><div class="carbonad">

            </div></div>
        </nav>
      </div>

      <div class="twelve columns offset-by-one content">
        <?= $output ?>
      </div>

      <div class="sixteen columns">
        <hr />
        <p>
        My Mvc &copy; <?= date(Y) ?>.
        </p>
      </div>

    </div>

  <? System::Web()->ScriptManager->JavaScript(); ?>
  </body>
</html>